package com.zmkj.cn.comm.plugin;

import org.springframework.context.annotation.Bean;
import org.springframework.stereotype.Component;

@Component
public class PluginGenerator {


    @Bean
    public SaveMapperPlugin myPlugin() {
        SaveMapperPlugin myPlugin = new SaveMapperPlugin();
        //设置参数，比如阈值等，可以在配置文件中配置，这里直接写死便于测试
        return myPlugin;
    }


}
